package com.qiye.livevideo.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Date;
import java.math.BigDecimal;

import com.qiye.livevideo.common.BaseBean;
import com.qiye.livevideo.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 *阿里云oss相关配置信息 bean
 *  Created on 2019/4/30.
 *  @author meishijun
 */
@ApiModel(description="阿里云oss相关配置信息")
public class AliCloudOssInfo   extends BaseBean {


	/**
	 * 主键id
	 */
	@ApiModelProperty(value = "主键id")
	private Integer id;
	/**
	 * 阿里云账号的keyID--阿里云个人资料找
	 */
	@ApiModelProperty(value = "阿里云账号的keyID--阿里云个人资料找")
	private String accessKeyId;
	/**
	 * 阿里云账号的keySecret--阿里云个人资料找
	 */
	@ApiModelProperty(value = "阿里云账号的keySecret--阿里云个人资料找")
	private String accessKeySeret;
	/**
	 * 阿里云oss-bucketName--阿里云oss控制台中找
	 */
	@ApiModelProperty(value = "阿里云oss-bucketName--阿里云oss控制台中找")
	private String ossBucketName;
	/**
	 * oss普通上传目录名称
	 */
	@ApiModelProperty(value = "oss普通上传目录名称")
	private String ossOrdinaryFile;
	/**
	 * oss分片上传目录名称
	 */
	@ApiModelProperty(value = "oss分片上传目录名称")
	private String ossMultipartFile;
	/**
	 * 阿里云oss区域节点
	 */
	@ApiModelProperty(value = "阿里云oss区域节点")
	private String ossRegionPoint;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remarks;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**
	 * 修改时间
	 */
	@ApiModelProperty(value = "修改时间")
	private Date updateTime;
	public Integer getId(){
		return id;
	}


	public void setId(Integer id){
		this.id=id;
	}


	public String getAccessKeyId(){
		return accessKeyId;
	}


	public void setAccessKeyId(String accessKeyId){
		this.accessKeyId=accessKeyId;
	}


	public String getAccessKeySeret(){
		return accessKeySeret;
	}


	public void setAccessKeySeret(String accessKeySeret){
		this.accessKeySeret=accessKeySeret;
	}


	public String getOssBucketName(){
		return ossBucketName;
	}


	public void setOssBucketName(String ossBucketName){
		this.ossBucketName=ossBucketName;
	}


	public String getOssOrdinaryFile(){
		return ossOrdinaryFile;
	}


	public void setOssOrdinaryFile(String ossOrdinaryFile){
		this.ossOrdinaryFile=ossOrdinaryFile;
	}


	public String getOssMultipartFile(){
		return ossMultipartFile;
	}


	public void setOssMultipartFile(String ossMultipartFile){
		this.ossMultipartFile=ossMultipartFile;
	}


	public String getOssRegionPoint(){
		return ossRegionPoint;
	}


	public void setOssRegionPoint(String ossRegionPoint){
		this.ossRegionPoint=ossRegionPoint;
	}


	public String getRemarks(){
		return remarks;
	}


	public void setRemarks(String remarks){
		this.remarks=remarks;
	}


	public String getCreateTimeStr(){
		return DateUtils.formatDateTime(createTime);
	}


	@JsonIgnore
	public Date getCreateTime(){
		return createTime;
	}


	public void setCreateTime(Date createTime){
		this.createTime=createTime;
	}


	public String getUpdateTimeStr(){
		return DateUtils.formatDateTime(updateTime);
	}


	@JsonIgnore
	public Date getUpdateTime(){
		return updateTime;
	}


	public void setUpdateTime(Date updateTime){
		this.updateTime=updateTime;
	}


}
